package io;

import java.io.FileNotFoundException;
import java.io.PrintWriter;

/**
 * 缓冲字符流
 */
public class PWDemo {
    public static void main(String[] args) throws FileNotFoundException {
        PrintWriter pw=new PrintWriter("pw.txt");

        pw.println("爱就一个字,我只说一次");
        pw.println("你知道我只会用行动表示");
        System.out.println("写完了");
        pw.close();
    }
}
